<%@ page language="java" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>网站管理-请求配置</title>
		<jsp:include page="../../include/base.jsp"></jsp:include>
		<jsp:include page="../../include/common.jsp"></jsp:include>
		<jsp:include page="../../include/baseManage.jsp"></jsp:include>
		<link type="text/css" rel="stylesheet" href="../../resource/css/webmgr/webmgr.css"/>
	</head>
	
	<body>
		<div class="mini-toolbar" style="border:0;font-size:12px;padding-left:6px;"> 
	        <!-- 操作面板 -->
	        <div id="toolbarButton" class="operatePanel">
		       	<input id="rcNew" class="mini-button" text="新建配置" iconCls="icon-addnew" plain="false"
		       		onclick="onRcNewClick"/>
				<input id="rcSyn" class="mini-button" text="同步设置" iconCls="icon-btn-tongbu" plain="false"
					onclick="onRcSynClick"/>
				<input id="rcCtl" class="mini-button" text="展开查询" iconCls="icon-btn-expand" plain="false"
					onclick="onRcCtlClick"/>
		       	<input id="rcAfresh" class="mini-button" text="刷新" iconCls="icon-btn-refresh" plain="false" 
		       		onclick="afresh"/>
		    </div>
		    <!-- 查询面板 -->
		    <div id="toolbarForm" class="queryPanel">
		    	<label class="queryPanelLbl">配置名称：</label>
		    	<input id="srcName" class="mini-textbox"/>
		    	<label class="queryPanelLbl">配置状态：</label>
		    	<input id="srcState" class="mini-combobox" textField="text" valueField="value"/>
		    	<input id="rcQuery" class="mini-button" text="查询" iconCls="icon-btn-search" plain="false" 
		    		onclick="onRcQueryClick"/>
		    </div>
	    </div>
	    <div class="mini-fit" id="reqConfigPanel">
		    <div id="reqCfgGrid" class="mini-datagrid" fitColumns="true" style="width:100%;height:100%;" 
		    	multiSelect="true" pageSize="20" borderStyle="border-bottom:0;border-left:0;border-right:0;"
		    	virtualScroll="true" idField="srcId" ondrawcell="onReqCfgGridDrawCell">
		        <div property="columns">
		        	<div field="srcIndex" type="indexcolumn" width="40" align="center" headerAlign="center">序号</div>
		            <div field="srcName" width="150" headerAlign="center">请求名称</div>
		            <div field="srcRequest" width="30%" headerAlign="center">请求路径</div>
		            <div field="srcRelative" width="15%" headerAlign="center">方案路径</div>
		            <div field="srcTemplate" width="55%" headerAlign="center">模板路径</div>
		            <div field="srcState" width="50" align="center" headerAlign="center">状态</div>
		            <div field="srcOperator" width="90" align="center" headerAlign="center">操作选项</div>
		        </div>
		    </div>
	    </div>
	</body>
	<script type="text/javascript" language="javascript" src="config/WebMgrConfig.js"></script>
	<script type="text/javascript" language="javascript" src="handler/ReqCfgHandler.js"></script>
</html>
